import 'package:flutter/material.dart';

class EmptyPage extends StatefulWidget {
  EmptyPage({super.key, required this.title});
  String title;
  @override
  State<EmptyPage> createState() => _EmptyPageState();
}

class _EmptyPageState extends State<EmptyPage> {
  String title = '';
  @override
  void initState() {
    super.initState();
    title = widget.title;
  }

  @override
  Widget build(BuildContext context) {
    return Column(
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        Image.asset(
          'images/ic_not_found.png',
          width: 150,
          height: 150,
        ),
        Text(title, style: const TextStyle(color: Colors.grey))
      ],
    );
  }
}
